Ad handling error

Check before rerurn
Add handling error

Check before return it
Revert "Ad handling error"

This reverts commit 2cee49756106c41595a0ea5714bb6aec2dfe545f.