add inherit to config