fix customized bare return type name generation