fixed z_document base api spec