fix appRoot has duplicate WebRoot path bug