fixing bind_param calls