fixed date picked glitch