fixing is admin query