fixing EventListenerYAMLError: mapping values are not allowed here