fixes bug 124,126, edit locale