fixed the bug on the root marking