fix register display formatting.