fixed lint issues, docs fixed