adjust face detectionand FG substraction