Fix some bugs while updating for the program Dynamic Parser