add unit for cut doc