change order of reverse and reverse1