behave normal when input newline