fixing broken code for tablet