corrections to FaceDetection in activity