fix for empty result