fix missing size error