fixed bug on tablets