removed unnecessary preventdefault