fixed loading and used isFit in test training with XOR