Fixed errors regarding path