fix locations so that paths are proper paths