only include : if detail not null