locale string bug fix