date to string fix