Fix an issue that doesn't able to write same type arguments