fix dateranger