fixed unnamed namespace stuff