cut the config