fix oncopy bug that crept in