changed legend location