fixed bug in path