Corrected references error