e.target didn’t always have a value