Fixed problem with sunrise