fix #392