Fixed #990