fix reference and number format