minor bug fix to whitelist