update docs, fix error