quickfix for the date selector