Fixed makeRoot