fixes 0 results bug