Fix a double delete bug

~CELL() is refer to two different class, module and library.