Fixed bug with whitelist parameter