fix #4, api is is_in_db