changed esophagus cycle color logic for better