attempt to handle locale