dimension lines wrongly placed

Hello everybody.

I am preparing a drawing and I keep getting the dimensions lines not aligned with the correspondent part edges.

Thank you for your help

SolidworksDrawings And Detailing