Julia making sure the ref calls the goal