Minor bug in whitelist