set DEBUG = false when minimizing