fixed dumb time error and time is now saved