Bug fix for whitelists to whitelist