fixed Android crash at login