fix dom pattern name