Fixed another regtoken bug