re-adding legend headers