fix canvas version