Handle invalid patch