fix gear enchant loop