Get rid of ref.