fix the issue in the api comunication process and the template missing (provitional solution)