fix row problem with locations