doc and clean exceptions