comments are always good.

It's tough to understand this fix, thus putting some descriptive
comments.