fix #1319