make libdoc work a bit better