fixed reference numbering