fix docs
fix code format