fixed bug in the newline case in which a comment was treated as command