fix refs line