fixed "kiosk mode" issue