Fixed the path problem

Not sure if its the best way to go about it though