corrected error in main reference