[minor/bug] fix api log caused by ctx redefinition as local var
[minor/bug] fix api log caused by ctx redefinition as local var

sunnygkp10/mig,mvanotti/mig,yvesago/mig,deathping1994/mig,djmitche/mig,ameihm0912/mig,djmitche/mig,jboyer2012/mig,sunnygkp10/mig,rayyang2000/mig,mvanotti/mig,yvesago/mig,vladimirdiaconescu/mig,datachand/mig,rayyang2000/mig,jvehent/mig,zerosign/mig,zerosign/mig,deathping1994/mig,jvehent/mig,mozilla/mig,zerosign/mig,therealkbhat/mig,pap/mig,ameihm0912/mig,rezen/mig,datachand/mig,therealkbhat/mig,mozilla/mig,pap/mig,deathping1994/mig,mvanotti/mig,gdestuynder/mig,rezen/mig,jboyer2012/mig,mozilla/mig,therealkbhat/mig,rayyang2000/mig,mvanotti/mig,yvesago/mig,jboyer2012/mig,deathping1994/mig,vladimirdiaconescu/mig,gdestuynder/mig,mozilla/mig,sunnygkp10/mig,mozilla/mig,datachand/mig,vladimirdiaconescu/mig,yvesago/mig,vladimirdiaconescu/mig,jboyer2012/mig,rezen/mig,rezen/mig,gdestuynder/mig,datachand/mig,pap/mig,jvehent/mig,zerosign/mig,rayyang2000/mig,gdestuynder/mig,ameihm0912/mig,pap/mig,therealkbhat/mig,sunnygkp10/mig,jvehent/mig