beautify code & locale