fixing multi-line input