small fix to parse