some fix test and doc