fixes pathing issues