A broken or damaged pin in the joints of wooden elements can be repaired. First of all, on the further part of the wooden stile, mark the width of the spigot and use a wood saw to cut its remains flush with the front of the stile. Then, along the designated lines, cut a notch and paste a new piece of wood of the same species into it, which the stile is made of and additionally strengthen it with pegs. Then, the entire pin must be appropriately sized to the existing socket cleared of glue.