finalize teamcity