corrected reference errors