fix bugs and replace defautl gcmap.php response with json