Fixed #988