fixed the dist mat issue