Fixed more Dom exception 7 error