made serial outputs cleaner