fix issue with tablets