reverse padding order