fixed some bug in parsing some bad AndroidManifest.xml