solve exceptions