adding a space before EOF