fixing face detector