fix #1136