some minor bugs for mobile