use int id instead of string id as persistent id