fix bug about get status code