Pathing corrections and helper