fix mobile display bug