fix activity date range update