make proxyApp a bit smarter