Do you miss `setAppSize` here? you remove it in L602.