fix missused Date obj