fix error on blank results