Fixed issue in "load from model name" method