clean error message with the server