fix date
autogenerate ID