fix exceptions namespaces