fix doc & code analysis