fix some face detection errors while merging source