Rename local variable to a more common name and fix a comment