remove warning in facial recognition part