minor fixes + update doc