Cleaning up format tags