fixed date glitch