remove ROOTPATH usage