Fixed #772