fix twilight overlap