revert to 5.1 upgrade