fixed a root path issue