time format bugfix, response status code detection