add isTablet plag