Safeguard against exceptions