changed preventDefaults to return