Fix a bug with default time
Select