fixes for mobile devices