fix #390