enable local conf, fix macros