fixed reference coping issue