treat putStr same as putStrLn