add debugging of bind_param statements