fix bugs on mobile