fix generic visitor fault
prepare varaible type scoping visitor