Fix bug#348