display output only if response is non-empty