date bug and json working for saves