fixes the inital date display error on the analysis tab