Docworks

fixes two basic errors In Docworks integration.