enabled face detection , removed some useless stuff