fix a llgs crash in android branch