fix: legend works again