Add a comment and fix a bug.