d.value replaced with 1