add dirty check for globalConfig