fix double-ref to pre hook