unable to execute rr query