const to config