[minor] changed a bit of code in all parsers mainly to make more readable