only include key if available