removed event.preventDefault