apply patch to compact forms