Fix issue #8 about permanent token