revert unnecessary changes in patches