Fixed not catching mode.