fixed compiling of docmanage