Fixed small bug, added destructor