remove deprecated syntax for elemName