fix mobile init problem