fix reference to locs in docs functionality