use event.target instead of event.currentTarget