fix #503