fix #395