Fix models not existing when copied