Fixed #1056