fix error message
correct parsing