Check refferences