fixed bug in docs
fixed some formatting issues