Prevent displaying awful error.