fix adaptive