fix mobile errors