Fix output friendcode