check if we even have a valid thread
and remove more regex shit