bug fixes in path