Fixes exception messages