date check fixes