turn iterator into list for proper check