cleanup for ecs version