handle error when whitelist blocks db
fix whitelist hack