trying to fix chrome/firefox errors double token?