legend messages fix