bug fix deploy goes into never-ending loop when starting from scratch