date selects fix