Fix safecopy instance issues