fix parsing extra comments after header