fixed the bug.