Fix a server issue for whitelist plugin