fix pathing bug