double reference fix

maybe it was me being stupid?? Who knows.
Merge pull request #106 from Hellhound1/master

double reference fix