added wrong locale check