fixing pathing problem with require