Fixed #762