only output reponse output if its not null