clear syntax region before patching it