prevent possible NPE with proxyMode