fix the bug that blocks whitelist rule