fixed bugs in doc. new version