removed redundant calls in results.php