shorten error messages