remove extra spaces at the end of line @mohamed-elmahdi