Fix calls to config