fix the httpclient bug and set dayofweek to chedule