correct for --root arg