fix #1368