adjust fragment and service