Fixed #1250