cleaning up the format