try to get references to work