now does not throw nosuchelementexception anymore when trying to
register a blacklisted listener