fix type in moon set time when time is null