Fixed bug after confirming token