Fix Dispose and multiple condition