fix BadStatusLine exception in weiboe