fixed issues where newly granted token was not visible