fixed alive background thread bug