resetting line after \r