Fixed #1149