date in REST client fixed