minor fixes + doc