fix bad/unneeded reference