handle the case when missing size