fix a bug
add an example