fix locale problem