fix fatal if locale is empty, ccc-0