Fixed pubs index issue