change bind type to int