Fixed #1573.