fix canvas load