fixing bug for new configs