fixed dow and doy