Fix circles code