better formatting in record mode