last fix in migrations from threads to categories