fix bug that take the wrong view controller pointer.
add an example