fixed typo in path building