fix #1150