Fixed #1092