fix reference from bind