fix incorrect ref