fixed legend again