fix #407