resolve bbug from perform query