fixed syntax errors in comp.php