added canvas resume