Fix code syntax error and improve install.json