documents dot product fixed