Bugfix for modelName infrence