fix naming, move legend clearing