fix getdata api bug for index.html