seperate config to global