Fix code to add contact to componentcatalog