fix #11 - error locale mismatch