initialize binding
add utils indexof, trim