make AcceptEntry behave like string