fixed some errors in path parsing