fix token variable