Fix bind_param bugs at line 139