finally fixed getting the project root path