fixed android release crash at end of game