fixed some documentation bugs