bug fixes for sunrise sunset