fixed an error with the scope `:event`