fixed bug related to orderedWhiteList vector