cleanups
    ! fixed not to double each doc entry
    * cleanups