value formatting cleanup