fixed main root entry redirect