fix  sun date bug