fixed documentation bugs