WarningManager: fix to us correct currentstate