fix issue adding depicts year from metadata, and for layers with very long titles