Bugfix - added preventDefault