updated footways; added error check for bounding box