set settings debug_mode to False