remove space at end of line @AmirGeorge