fixing the date bit