add behavior when do newline