doc cleanup
fixing exception thrown