fixing unpack calling destroy method