refactor handlers

fix FaceDetection handler