Fixed bug with config model refresh