small fixes and docs