fix #323