clean up example codes