Fix normal extract bug.