fix mobile rendering