moved config to common