fix add equipment error