fix ignoreSize bug