fixes #6, used config should be set up properly when deprecated config used