move link references up to fix parsing problem