Fixed bugs in docs