removed dependency in Canvas