disable registration for production