Fixed #1125.