fix formatting of error message