bug fix for mobile