debug locale problem