fixed some errors in documentation