replace extensions blacklist to whitelist