pi face detection fixes