fixed a little copy bug