Fixing error where ort is getting overriden.