add app ptr for handle