fix makefile and typo error.
add some comment.