fixed bug where line had spaces