added call to dispose