fixed the bug in rev V0.1