update system by correcting few dom API trouble.