fix display bug in ipad;