fixed to switch date-command