fix encrypted token