uuid as closure. fix #164