fix schema generation of duplicated procedure names