Fix bug#1198