fixed date issue in editmachine