remove unuse callback function

add some comments.