input reuturing new line bug