fix broken & deprecated config runtime