fixed unknown reference error