clay: fix #199