fixed a comment, and a type error