Fixed #1356.