Fixed DOM leak