support to local config