corrected remote ref