fix #394