add some APP res, and improve server side