fix pathing to resources