fix copy mock