fixed a document bug logged as #26