fixed passing correct pub to verify