add canvas and preventdefault