open doc buttons
trim length updated