report query bind fix