remove canvas dependency