fix broken blacklist handling