bugfix for tablets