fix bug and add some docu