corrected legend