add a patch for bge(4)