modify type declare of local var canvas in function DIP.get_select