changed to production mode