bunch of fixes for mobile