fix VS stuffing up a reference