revise the extractedFace code