fix the bug in the parse