moved legend to upper right