adjust doc to real