fixed a bug in the countdown for sunrise.