fixed: invalid length which was causing issue to unserialize data