Fixed error in call to getPath, missing parameter tree