Fixed #648.