Fixed the reference numbering errors and other things