more meta checking, and updated priority to rank by robot_id