fix the patch