fix isTablet(UI)