fix curriculum page: total calculation with several specializations