fix to exclude wrong lines

fix issue #75 . Anyway I don't like that code very much....