Namespace bug prevent exception to be catch