correcting root resolve