fix namespaces exceptions in trait property