removed unnecessary passing of config attributes