fix equipment true/false -> 1/0