Corrected bugs into docs