fix #196 make check_id unique