make examples valid