fixed dispaching bugs
add some documents