clean up for the format