fix #1337