Changed Pub id to string from int