modify result.php and json