avoiding packSize to be zero