before fix appinventor error