cleanup debug and Avatar destructor