clean up formats