Fix a bug which cause blacklist not working