add x to patch