Fixed a bug in the new config assignment