fix post deletion in threads