fix reference to reference in proxy