Fix entry.size undefined