First of all, there is no glue used. After trying this metal barrette several times, I found it's good enough without glue.
There are two holes on the metal barrette. Using wires to go through the holes and to tie to the metal or themselves can be fixed enough. So the rule is: whenever something is not really necessary, just discard it.