fix #292 without regression