fix line displaying in mobile