fix #1168