patching g5x installation