Fix stupid referencing