everything is working except tablet mode