fix for whitelist