fix dependent services cost calculation

fix dependent services cost calculation