singe location error checking for invalid id and single menu call added