Fixed #1268.