fixed issue with missing locale