previous cleanup broke the find_ent_id function