fixed typo in deallocator