Fix application running in production environment.