Fixed #1329.