Fix error reporting string