Fix bug date