added preventdefault on click