removed unnecessary print statment in WriteCatalog