fixed issue with root path