correct ref access