documentation fix
documentation and bug fixes