remove end line spaces!