Fix event:scan command