fixed warnings in docs