Fixed Dispose method