Fixing topReference