hides code examples if map fields are missing