empty result return fix