fix line centering but still lots of issues