moved legend location