simplify doc utils