fixed a minor issue in anonymous references