Fix resource pathing bug