replace for local config