all kinds of bug fixes for sunrise sunset