binding parameters fix

SQL integration fix #2