fix legend post submission