fixed autocopy issue