fix model sharing