move some settings to common.el