fix issue loading multiple reference entries