fix android crashing