fixed dealloc