fixed https://github.com/apkh/docmgmt/issues/2