Fixed #1458.