fixes bug for undefined var c in _is_metro_mode()