fix: production mode never called