fix reference number layout