Fixed bug in path