fix results bug