fixed a bug where method documentation would cause one extra line to be
counted as source code