fixed compatibility issues between neural network and face scanner