documents fixed, documenttype added