Remove unnecessary locale check