fixed some non-nls warnings