added error output if patch fails