Fixed crash at android start up