Fixed source DOM bug