fixed a bug in neural copy