Fixed bug with defining rootPath from parent entry