corrected refs to fig