improve doc formatting