Switch to preventDefault