added configs to disable winning based on mode
fixed a typo
fixed use of deprecated methods