handle undefined sh.sun/moon