Replace deprecate setting