change whitelist to lowercase