MAINT Replace stats.mode calls with fixes._mode
#938
Merged
stats.mode calls with fixes._mode
#938