refine sao extraction