fixed problem with Sunrise