formatting and locale tweaks