fixed ref references