fix #1174