fix calcolo frontend