logging in base class, fixed unpack command