reformat lcd output