update example for bug fix #362