adapt to to mobile