set ENV[DEBUG] to False if not set