Corrected legend formatting.