arc: fixed a bug for reversed