rewrite resizebox
rewrite all apps' page