Correct doc links
Modified local varaible