work on doc and bug fix