fix work with empty token field