Fix localeapp for production error