fix an issue related to proxy objects