fix row reference