add error contract whitelist