correct dom mappings variables