fix last owner logic