Fixed #2672.