wrong namespace and exception fixed