Fixed android bugs.