fix to mcdb_id check and rootness of te request