Fix duplicate type name in pass namespace