adapt to mobile