remove debug reference