fixed callback for binding parameters