fix api.ini.template processing