Fixed #746