do some format changes