Fixed reorder error in parser