fixed client type enddate