fixed a bug that turned up when more than one white-list exists