fix bind types