fixes for jday