bug fix, update example