Correcting root path to be consistent