Fix whitelist flag