Changing token length validation