disable error in production