brackets buggered in thread.php