bug fix for mobile views