corrected cfg