formatting and canvas warning