fix #1169