apply missing patches