Just correct some issue on index rendering and curl url retrieving