move default params from config to params