Fixed a bug where the app crashes on android inn production build