fix mobile rendering issue