some fix and generate api-doc
0.5.1 release